/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.upf.grupoe.p2ppicture.DBAccessEngine.implementations;

import java.util.ArrayList;
import java.util.Iterator;

/**
 *
 * @author Marc
 */
public class Photo {
        private String id;
        private String path;
	private ArrayList<String> keywords;
	
	public Photo () {
		id = "";
                path="";
		keywords = new ArrayList<String>();
	}
	
	public void addKeyword (String k) {
		keywords.add(k);
	}

	public void setId (String i) {
		id = i;
	}
        
        public void setPath (String path){
            this.path = path;
        }

	public String getId () {
		return id;
	}
        
        public String getPath(){
            return path;
        }
        public ArrayList<String> getKeywords(){
            return keywords;
        }	
}	
